<template>
			<view class="list">
				<uni-indexed-list :options="list" :show-select="true" @click="bindClick" />
			</view>
</template>

<script setup>
	import location from '@/common/location.js'
	import {
		userStore
	} from '../../store/userstore.js'

	const list = location.list
	const store = userStore()
	const bindClick = (e) => {
		store.local = e.item.name
		console.log(store.local);
	}
</script>

<style scoped>
	 
</style>
